package cycling.taxi.com.ui.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;

import cycling.taxi.com.R;
import cycling.taxi.com.person.ExitApplication;

/**
 * 立即购买
 */
public class BuynowActivity extends AppCompatActivity {
    private TextView bt_ok,bt_back;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_buynow);
        ExitApplication.getInstance().addActivity(this);
        initView();
    }
    private void initView(){
        bt_back=(TextView) findViewById(R.id.bt_buy_back);
        bt_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View arg0) {
                finish();
            }
        });
        bt_ok=(TextView) findViewById(R.id.tv_buy_ok);
        bt_ok.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View arg0) {
                Toast.makeText(BuynowActivity.this, "暂无法支付", Toast.LENGTH_SHORT).show();
            }
        });
    }
}
